require(['config'], function() {
    require(['jquery','swiper', 'loadHF', ], function($,Swiper) {
        // var mySwiper =  创建Swiper对象实例，实现轮播图效果 
        new Swiper('.swiper-container', {
            
            // direction: 'vertical', //垂直切换选项
            
            loop:true, //循环模式选项

            autoplay:true,  //自动轮播切换

            //选用功能：分页器
            pagination: {
                el: '.swiper-pagination',
            },

            //选用功能：前进后退按钮
            // navigation: {
            //     nextEl: '.swiper-button-next',
            //     prevEl: '.swiper-button-prev',
            // },

            //选用功能：滚动条
            // scrollbar: {
            //     el: '.swiper-scrollbar',
            // },


        })
    })
})